package com.kuishen.service.impl;

import com.kuishen.moudule.User;
import com.kuishen.service.UserService;
import com.kuishen.service.base.baseServiceIml;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Transactional
@Service
public class UserServiceIml extends baseServiceIml<User> implements UserService {
    @Override
    public void login(String name, String password) {

    }


    @Override
    public User insertByid(String id) {
        return null;
    }

    @Override
    public int deleteByid(int id) {
        return 0;
    }

    @Override
    public int deleteByuuid(String id) {
        return 0;
    }

    @Override
    public void update(User user) {

    }

    @Override
    public User findByid(int id) {
        System.out.println(id);
        User user= (User) userMapper.findByid(id);
        return user;
    }

    @Override
    public User findByuuid(String id) {
        return null;
    }
}
